< previous page page_442 next page >

Page 442
e10a6a0a59f035e870d90cca05b85fce.gif
    End If
End Sub
Note that transformation matrices representing perspective transformations do not contain 0, 0, 0, 1 in their final columns. To work with these matrices, you must use routines that take this into account. To apply such a transformation to a point, use subroutine m3ApplyFull rather than m3Apply. To multiply such a matrix by another matrix, use subroutine m3MatMultiplyFull rather than subroutine m3MatMultiply.
Summary of Projections
Remembering the definitions for all of the kinds of projection can be quite difficult. Table 13.4 summarizes the projections described in the previous sections. The names of the projections are indented to show how the classifications relate. For example, the entry for parallel projection is indented to show that it is one kind of planar geometric projection.
Perpective Viewing
The equations for perspective projection work equally well for points that lie between the plane of projection and the center of projection and for points that lie behind the plane of projection. This makes it a little easier to specify the plane of projection. You can place it anywhere in front of, behind, or even inside the object you are viewing, and the projection will produce reasonable results.
Table 13.4 Summary of Projection Types
TYPE OF PROJECTIONDESCRIPTION
Planar GeometricProjectors start at a center of projection and pass through the object to a plane of projection.
e10a6a0a59f035e870d90cca05b85fce.gif
Parallel
Projectors are parallel. You can think of the center of projection as being infinitely far away.
e10a6a0a59f035e870d90cca05b85fce.gif
Orthographic
Projectors are perpendicular to the plane of projection.
e10a6a0a59f035e870d90cca05b85fce.gif
Axonometric
Projectors are not parallel to the X, Y, or Z axis.
e10a6a0a59f035e870d90cca05b85fce.gif
Isometric
Direction of projection makes equal angles with all three coordinate axes.
e10a6a0a59f035e870d90cca05b85fce.gif
Oblique
Plane of projection is perpendicular to a coordinate axis. Projectors are not perpendicular to the plane of projection.
e10a6a0a59f035e870d90cca05b85fce.gif
Cavalier
Projectors meet plane of projection at a 45-degree angle.
e10a6a0a59f035e870d90cca05b85fce.gif
Cabinet
Projectors meet plane of projection at an angle of Atn(2).
PerspectiveProjectors pass through a center of projection.

 
< previous page page_442 next page >